package com.szholly.utils.exception;

@SuppressWarnings("serial")
public class BaseException extends Exception {
	
	@SuppressWarnings("unused")
	private String errorCode = "-1";

	public BaseException(String message) {
		super(message);
	}

	public BaseException(String message, Throwable cause) {
		super(message, cause);
	}

	public BaseException(String errorCode, String message) {
		super(message);
		this.errorCode = errorCode;
	}

	public BaseException(String errorCode, String message, Throwable cause) {
		super(message, cause);
		this.errorCode = errorCode;
	}
}
